<include file="../header" />
<body class="J_scroll_fixed">
    <div class="wrap J_check_wrap">
        <ul class="nav nav-tabs">
            <li class="active"><a href="{:U('level/index')}">级别信息</a></li>
            <li><a href="{:U('level/add')}">添加级别</a></li>
        </ul>
        <table class="table table-hover table-bordered">
            <thead>
                <tr>
                    <th>ID</th>
                    <th>级别名称</th>
                    <th>lol级数</th>                                        
                    <th>创建时间</th>                                        
                    <th>管理操作</th>
                </tr>
            </thead>
            <tbody>

            <foreach name="levels" item="vo">
                <tr>
                    <td>{$vo.level_id}</td>
                    <td>{$vo.level_name}</td>	
                    <td>{$vo.level_index}</td>
                    <td>{$vo.create_time}</td>                                        
                    <td>
                        <a href='{:U("level/edit",array("id"=>$vo["level_id"]))}'>修改</a>
                        |
                        <a class="J_ajax_del" href="{:U('level/delete',array('id'=>$vo['level_id']))}">删除</a>
                    </td>

                </tr>
            </foreach>
            </tbody>
        </table>
        <div class="pagination">{$page}</div>
    </div>
    <script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>